package com.example.chamberlainserver.event;

import org.springframework.context.ApplicationEvent;

public class AuthenticationEvent extends ApplicationEvent {
    private final String username;
    private final String password;
    
    public AuthenticationEvent(Object source, String username, String password) {
        super(source);
        this.username = username;
        this.password = password;
    }
    
    public String getUsername() {
        return username;
    }
    
    public String getPassword() {
        return password;
    }
}